package com.xx.job.entity.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.xx.job.entity.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author liangcy
 * @since 2021-01-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SysColumns extends BaseEntity {

    private static final long serialVersionUID=1L;

    @TableId(value = "column_id", type = IdType.AUTO)
    private Long columnId;

    private Long tableId;

    private String columnName;

    private String columnComment;

    private String columnType;

    private String goType;

    private String goField;

    private String jsonField;

    private String isPk;

    private String isIncrement;

    private String isRequired;

    private String isInsert;

    private String isEdit;

    private String isList;

    private String isQuery;

    private String queryType;

    private String htmlType;

    private String dictType;

    private Long sort;

    private String list;

    private Boolean pk;

    private Boolean required;

    private Boolean superColumn;

    private Boolean usableColumn;

    private Boolean increment;

    private Boolean insert;

    private Boolean edit;

    private Boolean query;

    private String remark;

    private String fkTableName;

    private String fkTableNameClass;

    private String fkTableNamePackage;

    private String fkLabelId;

    private String fkLabelName;

    private String createBy;

    @TableField("update_By")
    private String updateBy;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;

    private LocalDateTime deletedAt;


}
